Operating System
Q252.
Which one or more of the following need to be saved on a context switch from one thread (T1) of a process to another thread (T2) of the same process?Q253.
Which of the following is/are shared by all the threads in a process ? I. Program counter II. Stack III. Address space IV. RegistersQ254.
A user level process in Unix traps the signal sent on a Ctrl-C input, and has a signal handling routine that saves appropriate files before terminating the process. When a Ctrl-C input is given to this process, what is the mode in which the signal handling routine executes?Q255.
Let the time taken to switch between user and kernel modes of execution be t1 while the time taken to switch between two processes be t2. Which of the following is TRUE?Q257.
Consider the following statements about user level threads and kernel level threads. Which one of the following statements is FALSE?Q258.
A thread is usually defined as a 'light weight process' because an operating system (OS) maintains smaller data structures for a thread than for a process. In relation to this, which of the followings is TRUE?Q260.
Consider the following statements with respect to user-level threads and kernel-supported threads (i) context switch is faster with kernel-supported threads (ii) for user-level threads, a system call can block the entire process (iii) Kernel supported threads can be scheduled independently (iv) User level threads are transparent to the kernel Which of the above statements are true?